package com.book.dao.reader;

import com.book.pojo.Admin;
import com.book.pojo.Reader;

import java.util.List;

public interface ReaderDao {
    // 根据用户名查询用户
    public Reader getReaderByUsername(String username);
    //添加用户
    public int addReader(Reader reader);
    //查询所有用户
    public List<Reader> getAllReaders();

    int deleteReader(int readerId);
}

